OneTeamSoftware\WooCommerce\Shipping\Plugin S

Total Complexity 38
Dependencies 2
Dependents 0
Total lines 280
Lines of code 194
Logical lines of code 100
Comment lines 5
Methods 19
Properties 12

Methods 19

Method Rating Maintainability Complexity Lines of code
isRequestForUrl()
A
57 8 16
initSettings()
S
44 5 46
register()
S
50 4 26
defineShippingMethodClass()
S
51 3 28
getDefaultServiceName()
S
66 3 9
onIsEnabled()
S
71 2 6
__construct()
S
60 1 13
updateFormFields()
S
80 1 3
getPluginSettings()
S
82 1 3
getBaseShippingMethodClassName()
S
82 1 3
addShippingMethod()
S
73 1 5
onPluginActionLinks()
S
71 1 5
isCart()
S
80 1 3
isCheckout()
S
80 1 3
onAdminMenu()
S
78 1 3
initAdapter()
S
67 1 7
loadSettings()
S
70 1 6
getShippingMethodClassName()
S
79 1 3
registerFeatures()
S
69 1 6